package com.mzpai.product.model;

import java.math.BigDecimal;

import com.mzpai.model.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value="订单购物详情表")
public class StoreOrderCartInfo extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value="规格图片")
	private String image;
	@ApiModelProperty(value="商品名称")
	private String productName;
	@ApiModelProperty(value="规则名称")
	private String attrValueName;
	@ApiModelProperty(value="数量")
	private Integer cartNum;
	@ApiModelProperty(value="价格")
    private BigDecimal price;
	
	@ApiModelProperty(value="购买东西的详细信息")
	private String cartInfo;
	@ApiModelProperty(value="订单自增主键id")
	private Integer oid;
	@ApiModelProperty(value="购物车id")
	private Integer cartId;
	@ApiModelProperty(value="商品ID")
	private Integer productId;
	@ApiModelProperty(value="唯一id")
	private String unique;
	@ApiModelProperty(value="所属供应商")
    private Integer factoryId;
	
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Integer getCartNum() {
		return cartNum;
	}
	public void setCartNum(Integer cartNum) {
		this.cartNum = cartNum;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getAttrValueName() {
		return attrValueName;
	}
	public void setAttrValueName(String attrValueName) {
		this.attrValueName = attrValueName;
	}
	public String getCartInfo() {
		return cartInfo;
	}
	public void setCartInfo(String cartInfo) {
		this.cartInfo = cartInfo;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	public Integer getCartId() {
		return cartId;
	}
	public Integer getProductId() {
		return productId;
	}
	public String getUnique() {
		return unique;
	}
	public Integer getFactoryId() {
		return factoryId;
	}
	public void setCartId(Integer cartId) {
		this.cartId = cartId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public void setUnique(String unique) {
		this.unique = unique;
	}
	public void setFactoryId(Integer factoryId) {
		this.factoryId = factoryId;
	}

}
